R extension setup?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

R extension setup?

Robert L
Having spent some time struggling with making the R extension work, with little progress, I seem to need help. The setup is the following:

* We are running SPSS ver 26 on a Statistics Server installation
* The R binaries in "C:\Program Files\R\R-3.5.0"
* The R packages are put in "C:\Program Files\R\R-3.5.0\library"
* The SPSS extensions are put (by the installation procedure) in "J:\Arkiv\R\win-library\3.5", i e another folder on one of the servers
* When STATS R35 CONFIGURATION R_HOME="C:\Program Files\R\R-3.5.0" is run, everything seems to run smoothly with no warnings or errors
* When an extension, e g STATS COMPRISK, is run, nothing happens, not even an error

I guess the setup is wrong. Any suggestions? Is it an R issue?

Robert

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Robert Lundqvist
Reply | Threaded
Open this post in threaded view
|

Re: R extension setup?

Jon Peck
Try running this code in a syntax window

begin program r.
library(cmprsk)
print(sessionInfo())
end program.

That will show if the required R  library is found and what the R setup is.

If the extension command itself is not found, you should see that in the Syntax Editor, the command is not color coded, and  you should get  an error message if  you try to run it.

The extension command should have been installed with Statistics in Admin mode.

Is "J:\Arkiv\R\win-library\3.5" on the extension search path?  Run SHOW EXT and check those locations.  You should be in distributed mode  for all of this, of course, although you could alternatively do all this in local  mode.


On Tue, Oct 13, 2020 at 10:49 AM Robert Lundqvist <[hidden email]> wrote:
Having spent some time struggling with making the R extension work, with little progress, I seem to need help. The setup is the following:

* We are running SPSS ver 26 on a Statistics Server installation
* The R binaries in "C:\Program Files\R\R-3.5.0"
* The R packages are put in "C:\Program Files\R\R-3.5.0\library"
* The SPSS extensions are put (by the installation procedure) in "J:\Arkiv\R\win-library\3.5", i e another folder on one of the servers
* When STATS R35 CONFIGURATION R_HOME="C:\Program Files\R\R-3.5.0" is run, everything seems to run smoothly with no warnings or errors
* When an extension, e g STATS COMPRISK, is run, nothing happens, not even an error

I guess the setup is wrong. Any suggestions? Is it an R issue?

Robert

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: R extension setup?

Kornbrot, Diana
You might be better off with jasp
What r procedures do you need?

Sent from my iPhone

On 13 Oct 2020, at 18:04, Jon Peck <[hidden email]> wrote:

Try running this code in a syntax window

begin program r.
library(cmprsk)
print(sessionInfo())
end program.

That will show if the required R  library is found and what the R setup is.

If the extension command itself is not found, you should see that in the Syntax Editor, the command is not color coded, and  you should get  an error message if  you try to run it.

The extension command should have been installed with Statistics in Admin mode.

Is "J:\Arkiv\R\win-library\3.5" on the extension search path?  Run SHOW EXT and check those locations.  You should be in distributed mode  for all of this, of course, although you could alternatively do all this in local  mode.


On Tue, Oct 13, 2020 at 10:49 AM Robert Lundqvist <[hidden email]> wrote:
Having spent some time struggling with making the R extension work, with little progress, I seem to need help. The setup is the following:

* We are running SPSS ver 26 on a Statistics Server installation
* The R binaries in "C:\Program Files\R\R-3.5.0"
* The R packages are put in "C:\Program Files\R\R-3.5.0\library"
* The SPSS extensions are put (by the installation procedure) in "J:\Arkiv\R\win-library\3.5", i e another folder on one of the servers
* When STATS R35 CONFIGURATION R_HOME="C:\Program Files\R\R-3.5.0" is run, everything seems to run smoothly with no warnings or errors
* When an extension, e g STATS COMPRISK, is run, nothing happens, not even an error

I guess the setup is wrong. Any suggestions? Is it an R issue?

Robert

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD


--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD