SHARE
TWEET

Untitled

a guest Jun 26th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. str(lacuracao_tvs$precio_actual[1])
  2. chr " 1199.00"
  3.      
  4. new_precio_actual <- trimws(lacuracao_tvs$precio_actual[1])
  5.  
  6. dput(new_precio_actual)
  7.      
  8. > str(lacuracao_tvs)
  9. 'data.frame':   100 obs. of  4 variables:
  10.  $ ecommerce    : chr  "la-curacao" "la-curacao" "la-curacao" "la-curacao" ...
  11.  $ producto     : chr  "TV LED AOC Ultra HD Smart 50" LE50U7970" "TV Samsung Ultra HD 4K Smart 58" UN-58RU7100G" "TV LG Ultra HD 4K Smart AI 55" 55UK6200" "TV AOC Ultra HD 4K Smart 55" 55U6285" ...
  12.  $ precio_antes : chr  "1899.00" "1899.00" "1899.00" "1899.00" ...
  13.  $ precio_actual: chr  " 1199.00" " 1199.00" " 1199.00" " 1199.00" ...
  14.      
  15. Sys.info()
  16.           sysname           release           version          nodename
  17.         "Windows"          "10 x64"     "build 17763" "DESKTOP-MNDUKBD"
  18.           machine             login              user    effective_user
  19.          "x86-64"       "OGONZALES"       "OGONZALES"       "OGONZALES"
  20. > sessionInfo(package = NULL)
  21. R version 3.5.2 (2018-12-20)
  22. Platform: x86_64-w64-mingw32/x64 (64-bit)
  23. Running under: Windows 10 x64 (build 17763)
  24.  
  25. Matrix products: default
  26.  
  27. locale:
  28. [1] LC_COLLATE=English_United States.1252
  29. [2] LC_CTYPE=English_United States.1252  
  30. [3] LC_MONETARY=English_United States.1252
  31. [4] LC_NUMERIC=C                          
  32. [5] LC_TIME=English_United States.1252    
  33.  
  34. attached base packages:
  35. [1] stats     graphics  grDevices utils     datasets  methods   base    
  36.  
  37. other attached packages:
  38. [1] dplyr_0.7.8     rvest_0.3.2     xml2_1.2.0      RSelenium_1.7.5
  39.  
  40. loaded via a namespace (and not attached):
  41.  [1] Rcpp_1.0.0       rstudioapi_0.9.0 bindr_0.1.1      magrittr_1.5    
  42.  [5] rappdirs_0.3.1   tidyselect_0.2.5 R6_2.3.0         rlang_0.3.1    
  43.  [9] stringr_1.3.1    httr_1.4.0       caTools_1.17.1.1 tools_3.5.2    
  44. [13] binman_0.1.1     selectr_0.4-1    semver_0.2.0     subprocess_0.8.3
  45. [17] yaml_2.2.0       openssl_1.1      assertthat_0.2.0 tibble_2.0.1    
  46. [21] crayon_1.3.4     bindrcpp_0.2.2   purrr_0.2.5      bitops_1.0-6    
  47. [25] curl_3.3         glue_1.3.0       wdman_0.2.4      stringi_1.2.4  
  48. [29] compiler_3.5.2   pillar_1.3.1     XML_3.98-1.20    jsonlite_1.6    
  49. [33] pkgconfig_2.0.2
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top