You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very simple question I'm sure, but I can't find the solution, please someone help me! I'm new to R and I will learn more but I need to send a report using this script very soon.
I installed MixSIAR and I see that the library is in C:/Users/me/Documents/R/win-library/4.0/MixSIAR and the script works perfectly as long as my data is in the same folder MixSIAR, but if I want to have it in my Dropbox or any other folder in my PC it doesn't work, because I can't figure out how to write the path to "call" the package MixSIAR.
#library(MixSIAR) # Works but needs data to be in the same MixSIAR folder.
library("C:/Users/pingry/Documents/R/win-library/4.0/MixSIAR") # doesn't work
# Load consumer
mix.filename <- system.file("data", "contemp_turtles_Oahu_consumer.csv", package = "MixSIAR")
mix <- load_mix_data(filename=mix.filename,
iso_names=c("d13C","d15N","d34S"),
factors=NULL,
fac_random=NULL,
fac_nested=NULL,
cont_effects=NULL)`
The error I get:
Error is in library("C:/Users/pingry/Documents/R/win-library/4.0/MixSIAR") : there is no package called ‘C:/Users/pingry/Documents/R/win-library/4.0/MixSIAR’
Thank you so much!
The text was updated successfully, but these errors were encountered:
Hi!
I have a very simple question I'm sure, but I can't find the solution, please someone help me! I'm new to R and I will learn more but I need to send a report using this script very soon.
I installed MixSIAR and I see that the library is in C:/Users/me/Documents/R/win-library/4.0/MixSIAR and the script works perfectly as long as my data is in the same folder MixSIAR, but if I want to have it in my Dropbox or any other folder in my PC it doesn't work, because I can't figure out how to write the path to "call" the package MixSIAR.
The error I get:
Error is in library("C:/Users/pingry/Documents/R/win-library/4.0/MixSIAR") : there is no package called ‘C:/Users/pingry/Documents/R/win-library/4.0/MixSIAR’
Thank you so much!
The text was updated successfully, but these errors were encountered: