Anda di halaman 1dari 13

R version 3.3.

2 (2016-10-31) -- "Sincere Pumpkin Patch"

Copyright (C) 2016 The R Foundation for Statistical Computing

Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.

You are welcome to redistribute it under certain conditions.

Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.

Type 'contributors()' for more information and

'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or

'help.start()' for an HTML browser interface to help.

Type 'q()' to quit R.

[Previously saved workspace restored]

> Poblacion<-c(1000000,250000,150000)

> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul")

+ ojos<-
factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul"),levels=c("ojos"))

Error: unexpected symbol in:


"ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul")

ojos"

> ojos<-
factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul"),levels=c("ojos")

+ ojos<-
factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul"),levels=c("ojos"))

Error: unexpected symbol in:

"ojos<-
factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","azul"),levels=c("ojos")

ojos"

> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe")

+ ojos

Error: unexpected symbol in:

"ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe")

ojos"

> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos

Error: unexpected symbol in "ojos<-


factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos"

>)

Error: unexpected ')' in ")"

> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos

Error: unexpected symbol in "ojos<-


factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos"

> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos

Error: unexpected symbol in "ojos<-


factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))jos"

> ))

Error: unexpected ')' in ")"


> ojos<-factor(c("verde","cafe","azul","cafe","azul","negro","verde","negro","cafe","negro"))

> ojos

[1] verde cafe azul cafe azul negro verde negro cafe negro

Levels: azul cafe negro verde

> altura<-c(1.65,1.38,1.63,1.85,1.56,1.71,1.69,1.58,1.99,2.01)

> altura

[1] 1.65 1.38 1.63 1.85 1.56 1.71 1.69 1.58 1.99 2.01

> peso<-c(65,58,63,79,81,45,48,40,88,101)

> peso

[1] 65 58 63 79 81 45 48 40 88 101

> ejemplo<-dataframe(ojos, altura, peso)

Error: could not find function "dataframe"

> ejemplo<-data.frame(ojos, altura, peso)

> ejemplo<-data.frame(ojos, altura, peso)

> ejemplo

ojos altura peso

1 verde 1.65 65

2 cafe 1.38 58

3 azul 1.63 63

4 cafe 1.85 79

5 azul 1.56 81

6 negro 1.71 45

7 verde 1.69 48

8 negro 1.58 40

9 cafe 1.99 88
10 negro 2.01 101

> pruebaescrita<-c(161,203,235,176,201,188,228,211,191,178)

> pruebaescrita

[1] 161 203 235 176 201 188 228 211 191 178

> prueba oral<-c(159,206,241,163,197,193,209,189,169,201)

Error: unexpected symbol in "prueba oral"

> pruebaoral<-c(159,206,241,163,197,193,209,189,169,201)

> pruebaoral

[1] 159 206 241 163 197 193 209 189 169 201

> datos1<-data.frame(pruebaescrita,prueba oral)

Error: unexpected symbol in "datos1<-data.frame(pruebaescrita,prueba oral"

> datos1<-data.frame(pruebaescrita,pruebaoral)

> datos1

pruebaescrita pruebaoral

1 161 159

2 203 206

3 235 241

4 176 163

5 201 197

6 188 193

7 228 209

8 211 189

9 191 169

10 178 201

> datos1[5,1]
[1] 201

> datos1[5,2]

[1] 197

> datos1[8,2]

[1] 189

> datos1[10,2]

[1] 201

> datos1[c(5,8,10),2]

[1] 197 189 201

> datos1[c(5,8,10),c(1,2)]

pruebaescrita pruebaoral

5 201 197

8 211 189

10 178 201

> datos1[c(3:8),1]

[1] 235 176 201 188 228 211

> datos1[c(3:8),2]

[1] 241 163 197 193 209 189

> datos1[c(3:8),c(1,2)]

pruebaescrita pruebaoral

3 235 241

4 176 163

5 201 197

6 188 193

7 228 209
8 211 189

> getwd()

[1] "C:/Users/anita/Documents"

> utils:::menuInstallLocal()

Warning in install.packages(files[zips], .libPaths()[1L], repos = NULL, :

'lib = "C:/Program Files/R/R-3.3.2/library"' is not writable

package tcltk2 successfully unpacked and MD5 sums checked

package sem successfully unpacked and MD5 sums checked

package rmarkdown successfully unpacked and MD5 sums checked

package rgl successfully unpacked and MD5 sums checked

package relimp successfully unpacked and MD5 sums checked

package readxl successfully unpacked and MD5 sums checked

package RcmdrMisc successfully unpacked and MD5 sums checked

package nnet successfully unpacked and MD5 sums checked

package nlme successfully unpacked and MD5 sums checked

package multcomp successfully unpacked and MD5 sums checked

package mgcv successfully unpacked and MD5 sums checked

package markdown successfully unpacked and MD5 sums checked

package lmtest successfully unpacked and MD5 sums checked

package leaps successfully unpacked and MD5 sums checked

package lattice successfully unpacked and MD5 sums checked

package knitr successfully unpacked and MD5 sums checked

package Hmisc successfully unpacked and MD5 sums checked

package effects successfully unpacked and MD5 sums checked

package e1071 successfully unpacked and MD5 sums checked


package colorspace successfully unpacked and MD5 sums checked

package car successfully unpacked and MD5 sums checked

package aplpack successfully unpacked and MD5 sums checked

package abind successfully unpacked and MD5 sums checked

> library()

> q()

> utils:::menuInstallLocal()

> librasy("Rcmdr")

Error: could not find function "librasy"

> library("Rcmdr")

Error in library("Rcmdr") : there is no package called Rcmdr

> utils:::menuInstallLocal()

> utils:::menuInstallLocal()

Warning in install.packages(files[zips], .libPaths()[1L], repos = NULL, :

'lib = "C:/Users/anita/Documents/R/win-library/3.3"' is not writable

package Rcmdr successfully unpacked and MD5 sums checked

> utils:::menuInstallLocal()

> utils:::menuInstallLocal()

Warning in install.packages(files[zips], .libPaths()[1L], repos = NULL, :

'lib = "C:/Users/anita/Documents/R/win-library/3.3"' is not writable

package zoo successfully unpacked and MD5 sums checked

package zoo successfully unpacked and MD5 sums checked

package yaml successfully unpacked and MD5 sums checked

package xlsxjars successfully unpacked and MD5 sums checked

package xlsx successfully unpacked and MD5 sums checked


package XLConnectJars successfully unpacked and MD5 sums checked

package XLConnect successfully unpacked and MD5 sums checked

package visNetwork successfully unpacked and MD5 sums checked

package tseries successfully unpacked and MD5 sums checked

package timeSeries successfully unpacked and MD5 sums checked

package timeDate successfully unpacked and MD5 sums checked

package TH.data successfully unpacked and MD5 sums checked

package testthat successfully unpacked and MD5 sums checked

package tcltk2 successfully unpacked and MD5 sums checked

package swirl successfully unpacked and MD5 sums checked

package SuppDists successfully unpacked and MD5 sums checked

package stringr successfully unpacked and MD5 sums checked

package stringi successfully unpacked and MD5 sums checked

package SparseM successfully unpacked and MD5 sums checked

package sem successfully unpacked and MD5 sums checked

package scales successfully unpacked and MD5 sums checked

package scales successfully unpacked and MD5 sums checked

package sandwich successfully unpacked and MD5 sums checked

package rstudioapi successfully unpacked and MD5 sums checked

package RODBC successfully unpacked and MD5 sums checked

package rmarkdown successfully unpacked and MD5 sums checked

package rJava successfully unpacked and MD5 sums checked

package rgl successfully unpacked and MD5 sums checked

package reshape2 successfully unpacked and MD5 sums checked

package relimp successfully unpacked and MD5 sums checked


package readxl successfully unpacked and MD5 sums checked

package RCurl successfully unpacked and MD5 sums checked

package RcppEigen successfully unpacked and MD5 sums checked

package Rcpp successfully unpacked and MD5 sums checked

package RColorBrewer successfully unpacked and MD5 sums checked

package RcmdrMisc successfully unpacked and MD5 sums checked

package Rcmdr successfully unpacked and MD5 sums checked

package R6 successfully unpacked and MD5 sums checked

package quantreg successfully unpacked and MD5 sums checked

package quadprog successfully unpacked and MD5 sums checked

package proto successfully unpacked and MD5 sums checked

package praise successfully unpacked and MD5 sums checked

package plyr successfully unpacked and MD5 sums checked

package pbkrtest successfully unpacked and MD5 sums checked

package openssl successfully unpacked and MD5 sums checked

package nnet successfully unpacked and MD5 sums checked

package nloptr successfully unpacked and MD5 sums checked

package nlme successfully unpacked and MD5 sums checked

package mvtnorm successfully unpacked and MD5 sums checked

package munsell successfully unpacked and MD5 sums checked

package multcomp successfully unpacked and MD5 sums checked

package modeest successfully unpacked and MD5 sums checked

package minqa successfully unpacked and MD5 sums checked

package mime successfully unpacked and MD5 sums checked

package mi successfully unpacked and MD5 sums checked


package mgcv successfully unpacked and MD5 sums checked

package memoise successfully unpacked and MD5 sums checked

package MatrixModels successfully unpacked and MD5 sums checked

package matrixcalc successfully unpacked and MD5 sums checked

package markdown successfully unpacked and MD5 sums checked

package magrittr successfully unpacked and MD5 sums checked

package lmtest successfully unpacked and MD5 sums checked

package lme4 successfully unpacked and MD5 sums checked

package leaps successfully unpacked and MD5 sums checked

package latticeExtra successfully unpacked and MD5 sums checked

package lattice successfully unpacked and MD5 sums checked

package labeling successfully unpacked and MD5 sums checked

package knitr successfully unpacked and MD5 sums checked

package jsonlite successfully unpacked and MD5 sums checked

package jsonlite successfully unpacked and MD5 sums checked

package iterators successfully unpacked and MD5 sums checked

package IPSUR successfully unpacked and MD5 sums checked

package installr successfully unpacked and MD5 sums checked

package ImportExport successfully unpacked and MD5 sums checked

package httr successfully unpacked and MD5 sums checked

package htmlwidgets successfully unpacked and MD5 sums checked

package htmltools successfully unpacked and MD5 sums checked

package Hmisc successfully unpacked and MD5 sums checked

package highr successfully unpacked and MD5 sums checked

package haven successfully unpacked and MD5 sums checked


package GWRM successfully unpacked and MD5 sums checked

package gtools successfully unpacked and MD5 sums checked

package gtable successfully unpacked and MD5 sums checked

package gridExtra successfully unpacked and MD5 sums checked

package ggplot2 successfully unpacked and MD5 sums checked

package gdata successfully unpacked and MD5 sums checked

package Formula successfully unpacked and MD5 sums checked

package formatR successfully unpacked and MD5 sums checked

package foreach successfully unpacked and MD5 sums checked

package fImport successfully unpacked and MD5 sums checked

package Evapotranspiration successfully unpacked and MD5 sums checked

package evaluate successfully unpacked and MD5 sums checked

package EnvStats successfully unpacked and MD5 sums checked

package effects successfully unpacked and MD5 sums checked

package e1071 successfully unpacked and MD5 sums checked

package doParallel successfully unpacked and MD5 sums checked

package digest successfully unpacked and MD5 sums checked

package dichromat successfully unpacked and MD5 sums checked

package DiagrammeR successfully unpacked and MD5 sums checked

package curl successfully unpacked and MD5 sums checked

package crayon successfully unpacked and MD5 sums checked

package colorspace successfully unpacked and MD5 sums checked

package coda successfully unpacked and MD5 sums checked

package chron successfully unpacked and MD5 sums checked

package caTools successfully unpacked and MD5 sums checked


package car successfully unpacked and MD5 sums checked

package boot successfully unpacked and MD5 sums checked

package bitops successfully unpacked and MD5 sums checked

package BH successfully unpacked and MD5 sums checked

package arm successfully unpacked and MD5 sums checked

package aplpack successfully unpacked and MD5 sums checked

package acepack successfully unpacked and MD5 sums checked

package abind successfully unpacked and MD5 sums checked

* installing *source* package 'gtable' ...

** package 'gtable' successfully unpacked and MD5 sums checked

** R

** preparing package for lazy loading

** help

*** installing help indices

** building package indices

** testing if installed package can be loaded

*** arch - i386

*** arch - x64

* DONE (gtable)

> library("rppc")

Error in library("rppc") : there is no package called rppc

> library("Rcpp")

> Rcpp

Error: object 'Rcpp' not found

> librarlibrary("Rcmdr")
Error: could not find function "librarlibrary"

> library("Rcmdr")

Loading required package: splines

Loading required package: RcmdrMisc

Loading required package: car

Loading required package: sandwich

Rcmdr Version 2.2-3

> q()

Anda mungkin juga menyukai