Hi
My first task using R.NET, was trying to reply the "Hello, R world example" (https://rdotnet.codeplex.com/documentation), however after type REngine. the method SetEnvironmentVariables is not available, in other words it does not exist, obviously if the method does not exist I cant compile and run my program. My questions are
1. What is the purpose of the method SetEnviromentVariables?
2. Why it does not appear as a part of the class REngine (see the pic attached)?
regards,
Javier
Comments: 1) SetEnvironmentVariables primary purpose is to put the R.DLL location on the path. R.DLL loads other dlls that can only be found by searching relative to the current location of R.DLL. Unless you call that function, some (but not all), R functions will not work (like summary). 2) Shrug. I don't know. It doesn't seem like an issue.
My first task using R.NET, was trying to reply the "Hello, R world example" (https://rdotnet.codeplex.com/documentation), however after type REngine. the method SetEnvironmentVariables is not available, in other words it does not exist, obviously if the method does not exist I cant compile and run my program. My questions are
1. What is the purpose of the method SetEnviromentVariables?
2. Why it does not appear as a part of the class REngine (see the pic attached)?
regards,
Javier
Comments: 1) SetEnvironmentVariables primary purpose is to put the R.DLL location on the path. R.DLL loads other dlls that can only be found by searching relative to the current location of R.DLL. Unless you call that function, some (but not all), R functions will not work (like summary). 2) Shrug. I don't know. It doesn't seem like an issue.