I'm trying to perform a RDA analysis in the vegan package using the
"varpart" function.
I have a matrix of community structure data in different sites (rows),
which I want to explain using 3 matrices of environmental data. The 3
matrices are:
water quality parameters;
local land use variables;
On 09/16/2017 11:29 AM, Rene J Suarez-Soto wrote:
I have not intentionally set R_LIBS_USER. I looked for an Renviron.site
file but did not see it in R/etc or my home directory. The strange part is
that if I print Sud.getenv I see a value for R_LIBS_USER. However, this
directory is not showing und
These environment variables are _inputs_ to the R startup sequence, and
optional ones at that. If you don't set them then R makes default settings.
Read the R Installation and Administration manual that comes with R for more
information.
You also need to understand the scope of environment var
Dear Rene
I am not sure I understand your problem so this may be completely uselss
but when I am going to run R from the command line I first of all run a
little batch file.
set R_HOME=C:\Users\Michael\Documents\bin\R\R-3.4.1
set R_PATH=%R_HOME%\bin\x64
set PATH=%R_PATH%;%PATH%
Someone (forg
I have not intentionally set R_LIBS_USER. I looked for an Renviron.site
file but did not see it in R/etc or my home directory. The strange part is
that if I print Sud.getenv I see a value for R_LIBS_USER. However, this
directory is not showing under libPaths.
I though .libPaths should contain R_LI
I'm not sure I follow what.the problem is. Are you trying to
set R_LIBS_USER but R does not acknowledge it, or do you observe something
in R that you didn't expect to be there and you are trying to figure out
why that is / where that happens?
Henrik
On Sep 16, 2017 07:10, "Rene J Suarez-Soto" wr
I have a computer where R_LIBS_USER is not found in libPaths. This is for
Windows (x64). I ran R from the command line, RGui and RStudio and I get
the same results. I also ran R --vanilla and I still get the discrepancy.
The only thing I found interesting was that I also ran SET from the command
l
oky.. thank you very much to all of you
On Sat, Sep 16, 2017 at 2:06 PM, Eric Berger wrote:
> You can just use the same code that I provided before but now use your
> dataset. Like this
>
> df <- read.csv(file="data2.csv",header=TRUE)
> dates <- as.Date(paste(df$year,"-01-01",sep=""))
> myXts <
No. However, you can modify the global environment from within a function if
you understand how variable scoping works. [1] See `<<-`. Be warned that this
leads down a perilous path of confusing code (side effects) if misused.
[1] http://adv-r.had.co.nz/Environments.html
--
Sent from my phone.
Hello,
Is it possible to execute functions (outside the ui and server shiny
environments) after reading data using reactiveFileReader() ?
For example, I'd like to fit a linear model on data read using
reactiveFileReader() outside ui/server.
library(shiny)
library(dplyr)
bigData <- reactiveFile
Dear R community,
I am happy to announce the publication on CRAN of the revengc package:
https://cran.r-project.org/web/packages/revengc/index.html
The statistical package revengc was designed to reverse engineer censored,
decoupledcensus data into a likely hhs x area uncensored contingency
You can just use the same code that I provided before but now use your
dataset. Like this
df <- read.csv(file="data2.csv",header=TRUE)
dates <- as.Date(paste(df$year,"-01-01",sep=""))
myXts <- xts(df,order.by=dates)
head(myXts)
#The last command "head(myXts)" shows you the first few rows of the x
12 matches
Mail list logo